package com.huawei.edukids;

import android.app.Activity;
import android.content.Context;
import com.huawei.appmarket.MainActivity;
import com.huawei.appmarket.service.config.protocol.AppLaunchProtocol;
import com.huawei.secure.android.common.intent.SafeIntent;
import o.ceh;
import o.dgh;
import o.dgm;
import o.dgr;
import o.epr;
import o.exw;

public abstract class AbstractEduCenterActivity extends MainActivity<AppLaunchProtocol> implements ceh {
    public abstract void ʽॱ();

    public abstract String ˈ();

    public abstract void ˎ(boolean z);

    public void ॱˊ() {
        ˎ(false);
    }

    public void ॱॱ() {
        ʽॱ();
        ˋˊ();
        super.ॱॱ();
        this.ˊॱ = null;
        if (new SafeIntent(getIntent()).getBooleanExtra("centeropenbyshortcut", false)) {
            epr.ˎ().ˎ(null);
            dgh.ॱ(getApplicationContext(), "310103", ˈ());
        }
    }

    public void ᐝ() {
        exw.ˎ((Context) this, "kidedu");
    }

    private void ˋˊ() {
        int ˎ = dgm.ˎ((Activity) this);
        dgr.ˋ().ˋ("desktop|" + ˎ, ˎ);
    }

    public void ͺ() {
    }
}
